package com.repair.service.Log;

import java.util.List;

import com.repair.dao.Log.ILogDao;
import com.repair.domain.Log;
import com.repair.factory.DaoFactory;


public class LogService {
	private ILogDao dao = (ILogDao)DaoFactory.getInstance().getDao("LogDao");
	
	
	public void save(Log obj){
		this.dao.saveLog(obj);
	}
	public  List<Log> list(){
		return this.dao.getAllLog();
	}
	public void delete(Log obj){
		this.dao.deleteLog(obj);
	}
}
